<nav class="breadcrumb" id="pathContainer">
    <i class="Hui-iconfont Hui-iconfont-weizhi"></i>
    <span>您的位置：</span>
    <span>账表查询</span>
    <span class="c-999 en">&gt;</span>
    <span class="c-primary">贫困户变更查询</span>
</nav>

<div class="Hui-article" id="mainCon">
    <!-- search module start -->
    <div class="row cl searchBox">
        <form class="form form-horizontal responsive" id="searchForm" novalidate="novalidate">
            <div class="clearfix">
            	<div class="conditionBox col-sm-2">
                    <label for="">年度:</label>
                    <input type="text" class="input-text radius pointer" readonly placeholder="请选择年度" name="years" id="year"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在省:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="province" value="">
                            <!-- <option value="">请选择</option> -->
                            <option value="河北省" readOnly>河北省</option>
                        </select>
                        <!-- <input type="hidden" value="河北省" name="province" id="h-province"> -->
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在市:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="city" value="">
                            <!-- <option value="">请选择</option> -->
                            <option value="邯郸市" readOnly>邯郸市</option>
                        </select>
                        <!-- <input type="hidden" value="邯郸市" name="city" id="h-city"> -->
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在县:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="cty" value="">
                            <!-- <option value="">请选择</option> -->
                            <option value="魏县" readOnly>魏县</option>
                        </select>
                        <!-- <input type="hidden" value="魏县" name="cty" id="h-cty"> -->
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在乡:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="cry" value="">
                            <option value="">请选择</option>
                        </select>
                        <input type="hidden" name="country" id="h-cry">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在村:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="name" value="">
                            <option value="">请选择</option>
                        </select>
                        <input type="hidden" name="village" id="h-name">
                    </div>
                </div>

                <div class="conditionBox col-sm-2">
                    <label for="">姓名:</label>
                    <input type="text" class="input-text radius" placeholder="请输入姓名" name="name" id="poorName"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">证件号码:</label>
                    <input type="text" class="input-text radius" placeholder="请输入证件号码" name="idNumber" id="idNumber" />
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">变更类型:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" name="changes" value="" id="changes">
                            <option value="">全部</option>
                            <option value="1">已脱贫（享受政策）</option>
                            <option value="11">已脱贫（不再享受政策）</option>
                            <option value="9">预脱贫</option>
                            <option value="0">返贫</option>
                            <option value="2">家庭成员信息变更</option>
                            <option value="3">家庭成员增加</option>
                            <option value="4">家庭成员减少</option>
                            <option value="5">户基本信息变更</option>
                            <option value="6">户主变更</option>
                            <option value="7">家庭成员转移</option>
                            <option value="10">注销</option>
                            <option value="8">新识别贫困户</option>
                        </select>
                    </div>
                </div>

                <!-- <div class="conditionBox col-sm-2">
                    <label for="">变更开始时间:</label>
                    <input type="text" class="input-text radius pointer" readonly placeholder="请选择变更开始时间" name="" id="year2"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">变更结束时间:</label>
                    <input type="text" class="input-text radius pointer" readonly placeholder="请选择变更结束时间" name="" id="year3"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">经办开始时间:</label>
                    <input type="text" class="input-text radius pointer" readonly placeholder="请选择经办开始时间" name="" id="year4"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">经办结束时间:</label>
                    <input type="text" class="input-text radius pointer" readonly placeholder="请选择经办结束时间" name="" id="year5"/>
                </div> -->
                
            </div>
            <div class="clearfix btn-div mt-10">
                <input type="button" class="btn btn-primary queryBtn btn-secondary float-left mr-4" value="查 询"/>
                <input type="button" class="btn btn-secondary export_btn" value="导出">
            </div>
        </form>
    </div>
    <div class="table-scroll3">
        <table class="table table-border table-bordered">
            <thead class="text-c row cl table-bgcolor-gary" id="thead">
                <tr>
                    <th>序号</th>
                    <th>姓名</th>
                    <th>证件号码</th>
                    <th>变更年度</th>
                    <th>经办时间</th>
                    <th>变更类型</th>
                    <th>变更原因</th>
                    <th>贫困户属性</th>
                    <th>主要致贫原因</th>
                    <th>脱贫状态</th>
                    <th>识别标准</th>
                    <th>联系电话</th>
                    <th>开户银行名称</th>
                    <th>银行卡号</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody class="text-c row cl" id="tbody"></tbody>
        </table>
    </div>

    <!-- 分页 start -->
    <div class="page pt-10 clearfix">
        <div class="f-l" style="white-space: nowrap;" id="pageContainer"></div>
        <div class="f-r" id="pageBtn">
            <input type="button" value="首页" class="page-btn" id="firstPage">
            <input type="button" value="上一页" class="page-btn" id="prevPage">
            <input type="button" value="下一页" class="page-btn" id="nextPage">
            <input type="button" value="尾页" class="page-btn" id="lastPage">
        </div>
    </div>
    <!-- 分页 end -->
</div>

<!-- 页面模板 start -->
<script id="mainList" type="text/x-handlebars-template">
\{{#each resultList}}
<tr>
    <td>\{{Math @index '+' '1'}}</td>
    <td>\{{poorFamilyHistory.familyHistories.[0].name}}</td>
    <td>\{{poorFamilyHistory.familyHistories.[0].idNumber}}</td>
    <td>\{{annual}}</td>
    <td>\{{timestampToDateString addTime}}</td>
    
    \{{#mccmsShowIfEqual changes '0'}}
     <td>返贫</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '1'}}
     <td>已脱贫（享受政策）</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '11'}}
     <td>已脱贫（不再享受政策）</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '2'}}
     <td>家庭成员信息变更</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '3'}}
     <td>家庭成员增加</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '4'}}
     <td>家庭成员减少</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '5'}}
     <td>户基本信息变更</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '6'}}
     <td>户主变更</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '7'}}
     <td>家庭成员转移</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '8'}}
     <td>新识别贫困户</td>
    \{{/mccmsShowIfEqual}}
    \{{#mccmsShowIfEqual changes '9'}}
     <td>预脱贫</td>
    \{{/mccmsShowIfEqual}}
     \{{#mccmsShowIfEqual changes '10'}}
     <td>注销</td>
    \{{/mccmsShowIfEqual}}
    <td>\{{reason}}</td>
    <td>\{{poorFamilyHistory.attribute}}</td>
    <td>\{{poorFamilyHistory.reason}}</td>
    <td>\{{poorFamilyHistory.poverty}}</td>
    <td>\{{poorFamilyHistory.standard}}</td>
    <td>\{{poorFamilyHistory.contact}}</td>
    <td>\{{poorFamilyHistory.bank}}</td>
    <td>\{{poorFamilyHistory.cardNumber}}</td>




    <td id="\{{poorFamilyHistory.id}}">
        <button type="button" class="btn btn-primary size-S detail_btn save_from">查看</button>
    </td>
</tr>
\{{/each}}
</script>
<!-- 页面模板 end -->

<!-- 分页  start -->
<script id="page" type="text/x-handlebars-template">
    <span>共有\{{rowCount}}条记录，</span>
    <label for="ipt2">每页行数：</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageSize">
            <option value="10" selected>10</option>
            <option value="20">20</option>
            <option value="50">50</option>
            <option value="100">100</option>
            <option value="200">200</option>
            <option value="300">300</option>
        </select>
    </span>
    <label for="ipt2">当前第</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageCount">
            \{{#each pageCount}}
            <option value="\{{pageCount}}">\{{pageCount}}</option>
            \{{/each}}
        </select>
    </span>
    <span>页</span>
</script>
<!-- 分页  end -->

<script>
    new povertyStrickenMesInquire();
</script>
